package com.sixtyplus.semen.boardapp.board.serialport;

public interface ISerialPortMgr {
    interface ReceiveCallback {
        void onReceive(final byte[] data);
    }

    boolean open(int rate, ReceiveCallback listener);

    boolean close();

    boolean send(byte[] data);
}
